package com.ethink.system.api;

import com.ethink.system.api.info.SystemAppInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * 系统APP表 Facade接口
 *
 * @author default
 * @date 2022-09-26
 */
@FeignClient(name = "ethink-system-service", path = "system-service/facade/v1/systemApp", contextId = "systemAppFacade")
public interface SystemAppFacade {

    @PostMapping("/system-service/app/list")
    @ResponseBody
    List<SystemAppInfo> getSystemAppList();

}